package com.devops.admin.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @ClassNem DOSRelease
 * @Description TODO
 * @Author heyabo
 * @Date 2022/3/22 14:42
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
@TableName("dos_release")
public class DOSRelease extends DOSModel {

    /**
     * release名称
     **/
    @TableField("release_name")
    private String releaseName;
    /**
     * 项目id
     **/
    @TableField("project_id")
    private Integer projectId;
    /**
     * 模块id
     **/
    @TableField("module_id")
    private Integer moduleId;
    /**
     * chart id
     **/
    @TableField("chart_id")
    private Integer chartId;
    /**
     * release版本号
     **/
    @TableField("revision")
    private Integer revision;
    /**
     * 环境类型
     **/
    @TableField("env_type")
    private Integer envType;
    /**
     * 集群id
     **/
    @TableField("cluster_id")
    private Integer clusterId;
    /**
     * 命名空间id
     **/
    @TableField("namespace_id")
    private Integer namespaceId;

    @TableField("chart_tag")
    private String chartTag;

    @TableField("release_type")
    private Integer releaseType;

    @TableField("apply_yaml_id")
    private Integer applyYamlId;

    @TableField("image")
    private String image;
}
